import request from '@/utils/request'

// 查询项目合同签约主体列表
export function listDealContractInvestDebt(query) {
  return request({
    url: '/contract/dealContractInvestDebt/list',
    method: 'get',
    params: query
  })
}

// 查询项目合同签约主体详细
export function getDealContractInvestDebt(id) {
  return request({
    url: '/contract/dealContractInvestDebt/' + id,
    method: 'get'
  })
}

// 保存项目合同签约主体
export function saveDealContractInvestDebt(data) {
  return request({
    url: '/contract/dealContractInvestDebt/save',
    method: 'post',
    data: data
  })
}

// 删除项目合同签约主体
export function delDealContractInvestDebt(id) {
  return request({
    url: '/contract/dealContractInvestDebt/' + id,
    method: 'delete'
  })
}

// 导出项目合同签约主体
export function exportDealContractInvestDebt(query) {
  return request({
    url: '/contract/dealContractInvestDebt/export',
    method: 'get',
    params: query
  })
}
